/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:AuthorQO
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.qo;

import java.util.List;
import com.yjhl.framework.dao.query.QO;

/**
 * query class for Author 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class AuthorQO extends QO {
    private static final long serialVersionUID = 1L;
    
    /**
     * 作者表标识
     */
    private String authorId;    
    private List<String> authorId_list;
    private String authorId_notnull = "N";
    private String authorId_notequal;
    private boolean authorId_like;
    
    /**
     * 人物姓名
     */
    private String authorName;    
    private List<String> authorName_list;
    private String authorName_notnull = "N";
    private String authorName_notequal;
    private boolean authorName_like;
    
    /**
     * 朝代
     */
    private String dynasty;    
    private List<String> dynasty_list;
    private String dynasty_notnull = "N";
    private String dynasty_notequal;
    private boolean dynasty_like;
    
    /**
     * 人物描述，这里是一个以key:val拼接的字符串
     */
    private String description;    
    private List<String> description_list;
    private String description_notnull = "N";
    private String description_notequal;
    private boolean description_like;
    
    /**
     * 人物画像地址连接
     */
    private String portraitLink;    
    private List<String> portraitLink_list;
    private String portraitLink_notnull = "N";
    private String portraitLink_notequal;
    private boolean portraitLink_like;
    
    /**
     * 简介
     */
    private String synopsis;    
    private List<String> synopsis_list;
    private String synopsis_notnull = "N";
    private String synopsis_notequal;
    private boolean synopsis_like;
    
    /**
     * 编辑用户ID
     */
    private String userId;    
    private List<String> userId_list;
    private String userId_notnull = "N";
    private String userId_notequal;
    private boolean userId_like;
    
    /**
     * 创建时间
     */
    private java.util.Date createTime;    
    private java.util.Date createTime_from;
    private java.util.Date createTime_thru;
    
    /**
     * 最后修改时间
     */
    private java.util.Date endTime;    
    private java.util.Date endTime_from;
    private java.util.Date endTime_thru;
    
    /**
     * 备注
     */
    private String remark;    
    
    public String getAuthorId() {
        return authorId;
    }
    
    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }
    public List<String> getAuthorId_list() {
        return authorId_list;
    }
    
    public void setAuthorId_list(List<String> authorId_list) {
        this.authorId_list = authorId_list;
    }
    public String getAuthorId_notequal() {
        return authorId_notequal;
    }
    
    public void setAuthorId_notequal(String authorId_notequal) {
        this.authorId_notequal = authorId_notequal;
    }
    public String getAuthorId_notnull() {
        return authorId_notnull;
    }
    
    public void setAuthorId_notnull(String authorId_notnull) {
        this.authorId_notnull = authorId_notnull;
    }
    
    public boolean isAuthorId_like() {
        return authorId_like;
    }
    
    public void setAuthorId_like(boolean authorId_like) {
        this.authorId_like = authorId_like;
    }
    
    public String getAuthorName() {
        return authorName;
    }
    
    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }
    public List<String> getAuthorName_list() {
        return authorName_list;
    }
    
    public void setAuthorName_list(List<String> authorName_list) {
        this.authorName_list = authorName_list;
    }
    public String getAuthorName_notequal() {
        return authorName_notequal;
    }
    
    public void setAuthorName_notequal(String authorName_notequal) {
        this.authorName_notequal = authorName_notequal;
    }
    public String getAuthorName_notnull() {
        return authorName_notnull;
    }
    
    public void setAuthorName_notnull(String authorName_notnull) {
        this.authorName_notnull = authorName_notnull;
    }
    
    public boolean isAuthorName_like() {
        return authorName_like;
    }
    
    public void setAuthorName_like(boolean authorName_like) {
        this.authorName_like = authorName_like;
    }
    
    public String getDynasty() {
        return dynasty;
    }
    
    public void setDynasty(String dynasty) {
        this.dynasty = dynasty;
    }
    public List<String> getDynasty_list() {
        return dynasty_list;
    }
    
    public void setDynasty_list(List<String> dynasty_list) {
        this.dynasty_list = dynasty_list;
    }
    public String getDynasty_notequal() {
        return dynasty_notequal;
    }
    
    public void setDynasty_notequal(String dynasty_notequal) {
        this.dynasty_notequal = dynasty_notequal;
    }
    public String getDynasty_notnull() {
        return dynasty_notnull;
    }
    
    public void setDynasty_notnull(String dynasty_notnull) {
        this.dynasty_notnull = dynasty_notnull;
    }
    
    public boolean isDynasty_like() {
        return dynasty_like;
    }
    
    public void setDynasty_like(boolean dynasty_like) {
        this.dynasty_like = dynasty_like;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    public List<String> getDescription_list() {
        return description_list;
    }
    
    public void setDescription_list(List<String> description_list) {
        this.description_list = description_list;
    }
    public String getDescription_notequal() {
        return description_notequal;
    }
    
    public void setDescription_notequal(String description_notequal) {
        this.description_notequal = description_notequal;
    }
    public String getDescription_notnull() {
        return description_notnull;
    }
    
    public void setDescription_notnull(String description_notnull) {
        this.description_notnull = description_notnull;
    }
    
    public boolean isDescription_like() {
        return description_like;
    }
    
    public void setDescription_like(boolean description_like) {
        this.description_like = description_like;
    }
    
    public String getPortraitLink() {
        return portraitLink;
    }
    
    public void setPortraitLink(String portraitLink) {
        this.portraitLink = portraitLink;
    }
    public List<String> getPortraitLink_list() {
        return portraitLink_list;
    }
    
    public void setPortraitLink_list(List<String> portraitLink_list) {
        this.portraitLink_list = portraitLink_list;
    }
    public String getPortraitLink_notequal() {
        return portraitLink_notequal;
    }
    
    public void setPortraitLink_notequal(String portraitLink_notequal) {
        this.portraitLink_notequal = portraitLink_notequal;
    }
    public String getPortraitLink_notnull() {
        return portraitLink_notnull;
    }
    
    public void setPortraitLink_notnull(String portraitLink_notnull) {
        this.portraitLink_notnull = portraitLink_notnull;
    }
    
    public boolean isPortraitLink_like() {
        return portraitLink_like;
    }
    
    public void setPortraitLink_like(boolean portraitLink_like) {
        this.portraitLink_like = portraitLink_like;
    }
    
    public String getSynopsis() {
        return synopsis;
    }
    
    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }
    public List<String> getSynopsis_list() {
        return synopsis_list;
    }
    
    public void setSynopsis_list(List<String> synopsis_list) {
        this.synopsis_list = synopsis_list;
    }
    public String getSynopsis_notequal() {
        return synopsis_notequal;
    }
    
    public void setSynopsis_notequal(String synopsis_notequal) {
        this.synopsis_notequal = synopsis_notequal;
    }
    public String getSynopsis_notnull() {
        return synopsis_notnull;
    }
    
    public void setSynopsis_notnull(String synopsis_notnull) {
        this.synopsis_notnull = synopsis_notnull;
    }
    
    public boolean isSynopsis_like() {
        return synopsis_like;
    }
    
    public void setSynopsis_like(boolean synopsis_like) {
        this.synopsis_like = synopsis_like;
    }
    
    public String getUserId() {
        return userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public List<String> getUserId_list() {
        return userId_list;
    }
    
    public void setUserId_list(List<String> userId_list) {
        this.userId_list = userId_list;
    }
    public String getUserId_notequal() {
        return userId_notequal;
    }
    
    public void setUserId_notequal(String userId_notequal) {
        this.userId_notequal = userId_notequal;
    }
    public String getUserId_notnull() {
        return userId_notnull;
    }
    
    public void setUserId_notnull(String userId_notnull) {
        this.userId_notnull = userId_notnull;
    }
    
    public boolean isUserId_like() {
        return userId_like;
    }
    
    public void setUserId_like(boolean userId_like) {
        this.userId_like = userId_like;
    }
    
    public java.util.Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }
    public java.util.Date getCreateTime_from() {
        return createTime_from;
    }
    
    public java.util.Date getCreateTime_thru() {
        return createTime_thru;
    }
    
    public void setCreateTime_from(java.util.Date createTime_from) {
        this.createTime_from = createTime_from;
    }
    
    public void setCreateTime_thru(java.util.Date createTime_thru) {
        this.createTime_thru = createTime_thru;
    }
    
    public java.util.Date getEndTime() {
        return endTime;
    }
    
    public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
    public java.util.Date getEndTime_from() {
        return endTime_from;
    }
    
    public java.util.Date getEndTime_thru() {
        return endTime_thru;
    }
    
    public void setEndTime_from(java.util.Date endTime_from) {
        this.endTime_from = endTime_from;
    }
    
    public void setEndTime_thru(java.util.Date endTime_thru) {
        this.endTime_thru = endTime_thru;
    }
    
    public String getRemark() {
        return remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    

    @Override
	public String toString(){
		
		String toString = "{";
		  	 if(this.authorId != null){
		   	 	toString += (this.authorId+",");
		   	 }
		  	 if(this.authorName != null){
		   	 	toString += (this.authorName+",");
		   	 }
		  	 if(this.dynasty != null){
		   	 	toString += (this.dynasty+",");
		   	 }
		  	 if(this.description != null){
		   	 	toString += (this.description+",");
		   	 }
		  	 if(this.portraitLink != null){
		   	 	toString += (this.portraitLink+",");
		   	 }
		  	 if(this.synopsis != null){
		   	 	toString += (this.synopsis+",");
		   	 }
		  	 if(this.userId != null){
		   	 	toString += (this.userId+",");
		   	 }
		  	 if(this.createTime != null){
		   	 	toString += (this.createTime+",");
		   	 }
		  	 if(this.endTime != null){
		   	 	toString += (this.endTime+",");
		   	 }
		  	 if(this.remark != null){
		   	 	toString += (this.remark+",");
		   	 }
		  if(toString.lastIndexOf(",") == ( toString.length()-1)){
		  	toString = toString.substring(0, toString.length()-1);
		  }
		 toString += "}";
		return toString;
		
	}
	
	public String inputDescription(){
		
		String inputDescription = "{";
		   if(this.authorId != null){
		   		inputDescription += (this.authorId+" : 作者表标识,");
		   }
		   if(this.authorName != null){
		   		inputDescription += (this.authorName+" : 人物姓名,");
		   }
		   if(this.dynasty != null){
		   		inputDescription += (this.dynasty+" : 朝代,");
		   }
		   if(this.description != null){
		   		inputDescription += (this.description+" : 人物描述，这里是一个以key:val拼接的字符串,");
		   }
		   if(this.portraitLink != null){
		   		inputDescription += (this.portraitLink+" : 人物画像地址连接,");
		   }
		   if(this.synopsis != null){
		   		inputDescription += (this.synopsis+" : 简介,");
		   }
		   if(this.userId != null){
		   		inputDescription += (this.userId+" : 编辑用户ID,");
		   }
		   if(this.createTime != null){
		   		inputDescription += (this.createTime+" : 创建时间,");
		   }
		   if(this.endTime != null){
		   		inputDescription += (this.endTime+" : 最后修改时间,");
		   }
		   if(this.remark != null){
		   		inputDescription += (this.remark+" : 备注,");
		   }
		  if(inputDescription.lastIndexOf(",") == ( inputDescription.length()-1)){
		  	inputDescription = inputDescription.substring(0, inputDescription.length()-1);
		  }
		  inputDescription += "}";
		
		return inputDescription;
		
	}
}
